package com.mmche.web.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mmche.base.dao.BrandDao;
import com.mmche.base.pojo.Brand;
import com.mmche.base.service.BrandService;
import com.mmche.base.service.impl.BrandServiceImpl;

@Service("webBrandService")
public class WebBrandService extends BrandServiceImpl implements BrandService{

	@Resource(name="webBrandDao")
	private BrandDao brandDao;
	/**
	 * 获得所有有效品牌
	 */
	public List<Brand> getBrands(){
		return this.brandDao.getValidBrands();
	}
}
